#!/bin/bash
string="12345"
echo ${#string}   # 输出 7